﻿using Domain.Entity.Basic_information;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.IRepository.Basic_information
{
    public interface IAddress_mentRepository
    {
        int Count(string? Create_time, string ?value2);
        List<Address_ment> GetAddress_ments(int currentPage, int PageSize);

        bool DelAddress(int id);//逻辑删除

        int AddAddress(Address_ment address);//添加
        Address_ment GetAddress(int id);//根据ID查询地址
        int UpdAddress(Address_ment address);//修改地址
        List<Address_ment> GetAr_type(int currentPage, int PageSize);//查询发货地址
        List<Address_ment> GetAd_type(int currentPage, int PageSize);//查询收货地址
        List<Address_ment> Address_condition(int currentPage, int PageSize, string? Create_time, string? value2);
    }
}
